<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},

		onShow: function() {
    // #ifdef H5
    // 微信、微博等h5隐藏导航栏
    let ua = navigator.userAgent.toLowerCase()
    let isWebView = /micromessenger|weibo|bytedance|zhihu|qq/gi.test(ua)
    if (isWebView) {
      const style = document.createElement('style')
      style.innerHTML = 'uni-page-head {display: none;}'
      document.head.appendChild(style)
    }
    // #endif
  },
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
